package ${serviceImplPackageName};

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import hibernate.dao.BaseDao;
import ${modelPackageName}.${modelName};
import hibernate.service.impl.BaseServiceImpl;
import ${servicePackageName}.${modelName}Service;

/**
 * ${modelName}ServiceImpl
 *
 * @author ${author}
 * @date ${date}
 *
 */
@Service("${lowerModelName}Service")
public class ${modelName}ServiceImpl extends BaseServiceImpl<${modelName}, ${pkType}> implements ${modelName}Service {

	@Resource(name = "${lowerModelName}Dao")
	@Override
	public void setDao(BaseDao<${modelName}, ${pkType}> dao) {
		super.dao = dao;
	}

}
